From 10892863d5dcfabbcb0578d23e6d4334f672f630 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 2 Jul 2014 00:33:46 -0400 Subject: [PATCH] GtkDialog: fix invisible action area When there area explicitly added buttons in the action area, we were trying to ensure that the action area is visible, but failed, since we are now hiding the action_box. Fix it by showing the action_box when things are left in the action area. --- gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index c668a4983e..48d6426962 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -274,7 +274,7 @@ add_cb (GtkContainer *container, if (priv->use_header_bar) g_warning ("Content added to the action area of a dialog using header bars"); - gtk_widget_show (GTK_WIDGET (container)); + gtk_widget_show (GTK_WIDGET (priv->action_box)); } static void -- 2.30.2